package com.neuedu.projectedu.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

@Data
public class Goods {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    @TableField("goods_name")
    private String goodsName;
    private BigDecimal price;
    private Long number;
    @TableField(fill= FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(fill= FieldFill.UPDATE)
    private LocalDateTime updateTime;
}
